package com.example.moments.ssmemo;

import com.example.moments.ssmemo.entity.CommentData;
import com.example.moments.ssmemo.entity.LikeData;
import com.example.moments.ssmemo.entity.LinkData;

import java.util.List;

public class ContentData {
//    这里有列表 应该是不合适作为 数据库对象吧
//    图片有他对应的 cotent id
    List<Integer> images;
    String username;
    String content;
    LinkData linkData;
    List<LikeData>likeData;
//    List<CommentData>commentData;
    List<CommentData>commentDatas;

//    cmd+ n
//    苹果

    public List<Integer> getImages() {
        return images;
    }

    public void setImages(List<Integer> images) {
        this.images = images;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public LinkData getLinkData() {
        return linkData;
    }

    public void setLinkData(LinkData linkData) {
        this.linkData = linkData;
    }

    public List<LikeData> getLikeData() {
        return likeData;
    }

    public void setLikeData(List<LikeData> likeData) {
        this.likeData = likeData;
    }

    public List<CommentData> getCommentDatas() {
        return commentDatas;
    }

    public void setCommentDatas(List<CommentData> commentDatas) {
        this.commentDatas = commentDatas;
    }

    void parseFromDb(){

    }
}
